From: Vasudev Kamath Date: Sat, 23 Sep 2017 04:48:17 +0000 (+0530) Subject: Add patch to fix spelling errors in cargo. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~145 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=7a2c82df5e1dd6875d364db71bd27b4df2892f3f;p=cargo.git Add patch to fix spelling errors in cargo. --- diff --git a/debian/patches/1001_fix_spelling_errors.patch b/debian/patches/1001_fix_spelling_errors.patch new file mode 100644 index 000000000..62ee7fc8c --- /dev/null +++ b/debian/patches/1001_fix_spelling_errors.patch @@ -0,0 +1,75 @@ +Description: Fix spelling errors in cargo messages. +Author: Vasudev Kamath +Forwarded: no +Last-Update: 2017-09-23 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/bin/search.rs ++++ b/src/bin/search.rs +@@ -26,7 +26,7 @@ + Options: + -h, --help Print this message + --index INDEX Registry index to search in +- --host HOST DEPRICATED, renamed to '--index' ++ --host HOST DEPRECATED, renamed to '--index' + -v, --verbose ... Use verbose output (-vv very verbose/build.rs output) + -q, --quiet No output printed to stdout + --color WHEN Coloring: auto, always, never +--- a/src/cargo/util/toml/mod.rs ++++ b/src/cargo/util/toml/mod.rs +@@ -676,19 +676,19 @@ + bail!("virtual manifests do not define [package]"); + } + if me.lib.is_some() { +- bail!("virtual manifests do not specifiy [lib]"); ++ bail!("virtual manifests do not specify [lib]"); + } + if me.bin.is_some() { +- bail!("virtual manifests do not specifiy [[bin]]"); ++ bail!("virtual manifests do not specify [[bin]]"); + } + if me.example.is_some() { +- bail!("virtual manifests do not specifiy [[example]]"); ++ bail!("virtual manifests do not specify [[example]]"); + } + if me.test.is_some() { +- bail!("virtual manifests do not specifiy [[test]]"); ++ bail!("virtual manifests do not specify [[test]]"); + } + if me.bench.is_some() { +- bail!("virtual manifests do not specifiy [[bench]]"); ++ bail!("virtual manifests do not specify [[bench]]"); + } + + let mut nested_paths = Vec::new(); +--- a/src/etc/man/cargo-pkgid.1 ++++ b/src/etc/man/cargo-pkgid.1 +@@ -43,7 +43,7 @@ + .RE + .SH EXAMPLES + .PP +-Retrive package specification for foo package ++Retrieve package specification for foo package + .IP + .nf + \f[C] +@@ -59,7 +59,7 @@ + \f[] + .fi + .PP +-Retrive package specification for foo from crates.io ++Retrieve package specification for foo from crates.io + .IP + .nf + \f[C] +--- a/vendor/url-1.5.1/src/parser.rs ++++ b/vendor/url-1.5.1/src/parser.rs +@@ -683,7 +683,7 @@ + self.syntax_violation("unencoded @ sign in username or password") + } else { + self.syntax_violation( +- "embedding authentification information (username or password) \ ++ "embedding authentication information (username or password) \ + in an URL is not recommended") + } + last_at = Some((char_count, remaining.clone())) diff --git a/debian/patches/series b/debian/patches/series index 1b6d8d213..fe7ec6547 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ clean-cargo-deps.patch 2003_local-jquery.patch 2001_use-system-libgit2.patch 2002_disable-net-tests.patch +1001_fix_spelling_errors.patch